 /**  
  * @author Eric Jahn  
  * Course: Object Oriented Programming  
  * Final Project  
  * Due Date: August 3, 2012
  */ 
package oop.chat.user;  

/**
 * enumeration type for the different types of special lists  
 * @author Eric Jahn
 */
public enum Category  
{
	COMMON_LIST("Common List", 0),
    COURSE_LIST("Course Contacts", 1), 	
    FAVORITE_LIST ("Favorite Contacts", 2), 	
    INSTRUCTOR_LIST ("Instructor Contacts", 3), 	
    SENIOR_LIST ("Senior Contacts", 4), 	
    JUNIOR_LIST ("Junior Contacts", 5), 	
    SOPHOMORE_LIST ("Sophomore Contacts", 6), 	
    FRESHMEN_LIST ("Freshmen Contacts", 7);	 	

    //label desciption 	
    private String menuLabel;
	//index for arraylist in the user account
	private int index;

	/**
	 * cosntructor
	 * @param	label		String
	 * @param	index		int
	 */
    private Category(String label, int index) 	
    { 		
        this.menuLabel = label;
		this.index = index;
    } 	 	

    /** 	 
     * gets the menu label of the category 	 
     * @return	menulabel		String 	 
     */ 
    public final String getMenuLabel() 	
    { 		
        return this.menuLabel; 	
    } 

	/**
	 * gets the index of the category
	 * @return	index		int
	 */
	public final int getIndex()
	{
		return this.index;
	}
} 